﻿@* This has to be name TextEdit because Razor(not Blazor) still doesn't support case sensitive components. *@
@typeparam TValue
@inherits Blazorise.BaseTextInput<TValue>
@if ( !HasCustomRegistration )
{
    <input @ref="ElementRef" id="@ElementId" inputmode="numeric" class="@ClassNames" style="@StyleNames" placeholder="@Placeholder" disabled="@Disabled" readonly="@ReadOnly" step="@Step" pattern="@Pattern" value="@CurrentValueAsString" @onchange="@OnChangeHandler" @oninput="@OnInputHandler" @attributes="@Attributes" />
    @ChildContent
    @Feedback
}
else
{
    @RenderCustomComponent()
}